{% load staticfiles %}
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>系统登录</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<script type="text/javascript" src="{% static 'js/jquery-1.11.3.min.js' %}"></script>
</head>
<body>
<div class="login-logo">系统名</div>
<form class="login" action="{% url 'login_view' %}" method="post">
  <h5>系统名</h5>
  <ul>
    <li>
      <input type="text" name="username" placeholder="请输入用户名"/>
    </li>
    <li>
      <input type="password" name="password" placeholder="请输入密码"/>
    </li>
    <a href="#" onclick="$('.login').submit();" style="margin-top: 20px;">登 录</a>
  </ul>
</form>
<script type="text/javascript">
  if('{{msg}}'){
    alert('{{msg}}');
  }
</script>
</body>
</html>
